home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 October / PCWorld_1999-10_cd1.bin / Software / Servis / X-setup / _SETUP.1 / XQ Desktop NameSpace.xpl < prev    next >
Text File  |  1999-06-11  |  2KB  |  71 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="4"
  4. "UIPATH"="Appearance\Desktop\Icons"
  5. "NAME"="Icon Names"
  6. "VERSION"="1.21"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Recycle Bin"
  9. "TEXT 2"="Printers"
  10. "TEXT 3"="Control Panel"
  11. "TEXT 4"="Inbox"
  12. "DESCRIPTION 1"="Use this plug-in to change the names of some items in the Windows namespace."
  13. "DESCRIPTION 2"=""
  14. "DESCRIPTION 3"=""
  15. "AUTHOR"="Xteq Systems"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
  18.  
  19.  
  20.  
  21. Sub Plugin_Initialize 
  22.  s=RegReadValue("HKLM\Software\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\@")
  23.  SetUIElement 1,s
  24.  
  25.  s=RegReadValue("HKLM\Software\Classes\CLSID\{2227A280-3AEA-1069-A2DE-08002B30309D}\@")
  26.  SetUIElement 2,s
  27.  
  28.  s=RegReadValue("HKLM\Software\Classes\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\@")
  29.  SetUIElement 3,s
  30.  
  31.  'Dial-up Networking
  32.  'Does somehow not work... grmpf...
  33.  's=RegReadValue("HKLM\Software\Classes\CLSID\{992CFFA0-F557-101A-88EC-00DD010CCC48}\@")
  34.  
  35.  s=RegReadValue("HKLM\Software\Classes\CLSID\{00020D75-0000-0000-C000-000000000046}\@")
  36.  SetUIElement 4,s
  37. End Sub
  38.  
  39.  
  40. Sub Plugin_CheckData(ElementIndex)
  41. End Sub
  42.  
  43.  
  44.  
  45. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  46.  s=GetUIElement(1)
  47.  Call RegWriteValue("HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\@",s,1)
  48.  Call RegWriteValue("HKLM\Software\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\@",s,1)
  49.  
  50.  s=GetUIElement(2)
  51.  Call RegWriteValue("HKCR\CLSID\{2227A280-3AEA-1069-A2DE-08002B30309D}\@",s,1)
  52.  Call RegWriteValue("HKLM\Software\Classes\CLSID\{2227A280-3AEA-1069-A2DE-08002B30309D}\@",s,1)
  53.  
  54.  s=GetUIElement(3)
  55.  Call RegWriteValue("HKCR\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\@",s,1)
  56.  Call RegWriteValue("HKLM\Software\Classes\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\@",s,1)
  57.  
  58.  s=GetUIElement(4)
  59.  Call RegWriteValue("HKCR\CLSID\{00020D75-0000-0000-C000-000000000046}\@",s,1)
  60.  Call RegWriteValue("HKLM\Software\Classes\CLSID\{00020D75-0000-0000-C000-000000000046}\@",s,1)
  61.  
  62.  Restart
  63. End Sub
  64.  
  65.  
  66. Sub Plugin_Terminate 
  67. End Sub
  68.  
  69.  
  70.  
  71.